/*
 * jQuery FlexSlider v1.8
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none; text-align: center; margin-top: 10px; } 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {width: 100%; margin: 0; padding: 0; height: auto; }
.flexslider.small { height: 370px; }
.flexslider.small.macbook { width: 496px; height: 314px; top: 29px; left: 130px; }
.flexslider .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
#home_slider.flexslider .slides > li { height: 612px; }
.flexslider .slides img {max-width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider { position: relative; zoom: 1;}
.flexslider .slides {zoom: 1;}
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {width: 96%; padding: 2%; position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.3); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 14px; line-height: 18px;}

/* Direction Nav */
.flex-direction-nav li a {opacity: 0; width: 36px; height: 36px; margin: -13px 0 0; display: block; position: absolute; top: 47%; cursor: pointer; text-indent: -9999px;}
.home_portfolio .flex-direction-nav li a { top: 36%; }
.home_portfolio .flex-direction-nav li a.prev { left: 21%; }
.home_portfolio .flex-direction-nav li a.next { right: -50px; }
.flex-direction-nav li .next {right: -50px; background: transparent url("../../images/arrow_next.png") no-repeat;}
.flex-direction-nav li .prev {left: -50px; background: transparent url("../../images/arrow_prev.png") no-repeat;}
.flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
#slider_wrapper .flex-control-nav {width: 100%; height: 10px; position: absolute; right: 0; bottom: 0; text-align: center; margin-top: 10px; }
body.single-portfolios #slider_wrapper .flex-control-nav { bottom: -20px; }
#slider_wrapper.slide .flex-control-nav { height: 20px; }
.flex-control-nav li {margin: 0 1px 0 0; display: inline-block; zoom: 1; }
.flex-control-nav li:first-child { }
.flex-control-nav li a { background: #ebebeb; margin: 5px 0 0 0; width: 30px; height: 5px;display: block; cursor: pointer; text-indent: -9999px;  }
.flex-control-nav li a:hover {background: #ef3b24;}
.flex-control-nav li a.active {background: #ef3b24; cursor: default;}
.flex-control-nav li:last-child { margin-right: 0; }

.home_portfolio .flex-control-nav { padding-top: 0; height: 15px; }
@media screen and (-webkit-min-device-pixel-ratio:0) {
	.home_portfolio .flex-control-nav { height: 20px; }
}
.home_portfolio .flex-control-nav li, .home_portfolio .flex-control-nav li:last-child { float:none; }
.home_portfolio .flex-control-nav li a.active, .home_portfolio .flex-control-nav li a:hover { opacity:1;filter:alpha(opacity=100); }

#slider_wrapper .flexslider ul.slides li .slide_content_left, #slider_wrapper .flexslider.small ul.slides li .slide_content_left, #slider_wrapper .flexslider ul.slides li .slide_desc_left
{
	margin-top: 70px;
	text-align: left;
	color: #fff;
	font-size: 18px;
	float: left;
	width: 35%;
}

#slider_wrapper .flexslider ul.slides li .slide_content_left h5, #slider_wrapper .flexslider ul.slides li .slide_desc_left h5
{
	color: #fff;
}

#slider_wrapper .flexslider ul.slides li .slide_desc_left
{
	margin: 10px 0 0 0;
}

#slider_wrapper .flexslider ul.slides li a .slide_img_left, #slider_wrapper .flexslider ul.slides li a .slide_img_left
{
	margin: 35px 60px 0 30px;
	float: left;
}

#slider_wrapper .flexslider ul.slides li a .slide_img_right, #slider_wrapper .flexslider ul.slides li a .slide_img_right
{
	margin: 35px 0 0 45px;
	float: right;
}

#slider_wrapper .flexslider ul.slides li .slide_content_right, #slider_wrapper .flexslider ul.slides li .slide_desc_right
{
	margin-top: 70px;
	margin-left: 20px;
	text-align: left;
	color: #fff;
	font-size: 18px;
	float: left;
	width: 35%;
}

#slider_wrapper .flexslider ul.slides li .slide_content_right h5, #slider_wrapper .flexslider ul.slides li .slide_desc_right h5
{
	color: #fff;
	font-size: 36px;
}

#slider_wrapper .flexslider ul.slides li .slide_desc_right
{
	margin: 10px 0 0 20px;
}

#slider_wrapper .flexslider ul.slides li .slide_content_center, #slider_wrapper .flexslider ul.slides li .slide_desc_center
{
	margin: auto;
	margin-top: 35px;
	padding: ;
	text-align: left;
	color: #fff;
	font-size: 18px;
	text-align: center;
}

#slider_wrapper .flexslider ul.slides li .slide_desc_center
{
	margin-top: 0;
	margin-bottom: 32px;
}

#slider_wrapper .flexslider ul.slides li .slide_content_center h5, #slider_wrapper .flexslider ul.slides li .slide_desc_center h5
{
	color: #fff;
	font-size: 36px;
}

#slider_wrapper .flexslider ul.slides li a .slide_img_center, #slider_wrapper .flexslider ul.slides li a .slide_img_center
{
	bottom: 0;
	position: relative;
	margin: auto;
}

#slider_wrapper .flexslider ul.slides li a .slide_img_center:before, #slider_wrapper .flexslider ul.slides li a .slide_img_center:before
{
	margin-bottom: -200px;
}

#slider_wrapper .flexslider ul.slides li .slide_content_left h5, #slider_wrapper .flexslider ul.slides li .slide_content_right h5
{
	font-size: 36px;
}

#slider_wrapper.small .flexslider ul.slides li .slide_content_left h5, #slider_wrapper.small .flexslider ul.slides li .slide_content_right h5
{
	font-size: 14px;
}

#slider_wrapper .flexslider ul.slides li .slide_video_right
{
	margin: 45px 10px 0 20px;
	float: right;
}

#slider_wrapper .flexslider ul.slides li.video
{
	height: 430px;
}

#slider_wrapper .flexslider ul.slides li .slide_video_left
{
	width: 400px;
	margin: 65px 0px 0px 20px;
	float: left;
	text-align: left;
	color: #fff;
	font-size: 18px;
}

#slider_wrapper .flexslider ul.slides li .slide_video_left h5
{
	font-size: 36px;
	color: #fff;
	margin-bottom: 10px;
}

#portfolio_slider
{
	margin-top: 0;
}